/*
 * xregex.h
 *
 *  Created on: Aug 26, 2011
 *      Author: lindenb
 */

#ifndef XREGEX_H_
#define XREGEX_H_

#include <sys/types.h>
#include <regex.h>

class Pattern
    {
    private:
	regex_t preg;
	Pattern();
    public:
	~Pattern();
	static Pattern* compile(const char *regex, int cflags);
    };

#endif /* XREGEX_H_ */
